package com.itheima;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Slf4jTest {

    public static final Logger  LOGGER= LoggerFactory.getLogger(Slf4jTest.class);

    //快速入门
    @Test
    public void test1()  throws Exception{
        //日志输出
        LOGGER.error("error");
        LOGGER.warn("warning");
        LOGGER.info("info");
        LOGGER.debug("debug");
        LOGGER.trace("trace");
    }

}
